package com.example.ymm.modules1.service.hl.kq;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.KqGroupRule;
import com.example.ymm.modules1.entity.my.user.KqRule;
import com.example.ymm.modules1.query.kq.KqGroupRuleQueryCriteria;
import com.example.ymm.modules1.service.dto.heng.kq.ViewGroupRule;
import com.example.ymm.modules1.service.dto.heng.kq.ViewKqRule;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface KqGroupRuleService extends BaseService<KqGroupRule> {


    TableList<ViewGroupRule> list(KqGroupRuleQueryCriteria criteria, YmPageDto ymPage);

    List<KqGroupRule> queryAll(KqGroupRuleQueryCriteria criteria);
    

    void settingGroupRule(String deptIds,  String ruleId);


    List<ViewGroupRule> getGroupRuleList(KqGroupRuleQueryCriteria criteria);


    List<ViewKqRule> getRuleGroupList(KqGroupRuleQueryCriteria criteria);


}
